package com.zyd.blog.persistence.beans;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * <p>
 *
 * </p>
 *
 * @author liusongqi
 * @since 2020-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EsArticle {
    /**
     * id
     */
    private String id;

    /**
     * 标题
     */
    private String title;

    private Integer num;


    /**
     * 标题
     */
    private String state;

    private String titleTwo;

}
